const _products = [
  { 'id': 1, 'title': 'iphone13', 'price': 8000, 'inventory': 2 },
  { 'id': 2, 'title': 'iphone12', 'price': 5000, 'inventory': 10 },
  { 'id': 3, 'title': 'iphone11', 'price': 3000, 'inventory': 5 }
]

export default {
  getProducts () {
    return new Promise((resolve, reject) => {
      setTimeout(() => {
        resolve(_products)
      }, 100)
    })
  }
}